package com.gp.study.mybatis;

public class TestMybatis {

	public static void main(String[] args) {
		
		GpConfigurattion configurattion = new GpConfigurattion();
		GPExecutor executor = new GPExecutor(configurattion);
		GpSqlSession sqlSession = new GpSqlSession(configurattion, executor);
		UserMapper mapper = sqlSession.getMapper(UserMapper.class);
		User user = mapper.getUserByName("张三");
		System.out.println(user);
	}

}
